export const setToken = (context, data) => {
  context.commit("SETTOKEN", data);
};
export const setUsername = (context, data) => {
  context.commit("SETUSERNAME", data);
};
export const setWsalgresult = (context, res) => {
  context.commit("SETWSALGRESULT", res);
};
export const refreshToken = (context, data) => {
  context.commit("REFRESHTOKEN", data);
};
export const setSettingDialogShow = (context, data) => {
  context.commit("SETSETTINGDIALOGSHOW", data);
};
export const setUserDialogShow = (context, data) => {
  context.commit("SETUSERDIALOGSHOW", data);
};
export const resetState = (context) => {
  context.commit("RESET_STATE");
};
export const setWsInstance = (context, res) => {
  context.commit("SETWSINSTANCE", res);
};
